﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace TextAnalytics
{
    public static class AppUtility
    {
        public static void DisplayError(string error) 
        { 
            MessageBox.Show(error);
        }

        public static void DisplayError(Exception ex) 
        { 
            MessageBox.Show(ex.Message);
            Trace.WriteLine(ex);
        }

    }
}
